﻿<Window x:Class="MangaReader.Reader"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Manga Reader" Height="600" Width="800" xmlns:my="clr-namespace:WPFMitsuControls;assembly=WPFMitsuControls" WindowStartupLocation="CenterScreen" KeyDown="Window_KeyDown">
    <Window.Background>
        <RadialGradientBrush>
            <GradientStop Color="#FF5C3E79" Offset="0" />
            <GradientStop Color="#FF0A0541" Offset="1" />
        </RadialGradientBrush>
    </Window.Background>
    <Grid>
        <!--<ToolBar Height="26" Name="toolBar1" VerticalAlignment="Top">
        </ToolBar>-->
        <Viewbox Margin="5,5,5,40">
           <my:Book Margin="15" Name="readerBook" Height="420" Width="600" IsTabStop="False">
                <my:Book.ItemTemplate>
                    <DataTemplate>
                        <Border BorderThickness="0.5" BorderBrush="Gray" Background="White">
                            <ContentControl Content="{Binding .}" />
                        </Border>
                    </DataTemplate>
                </my:Book.ItemTemplate>
            </my:Book>
        </Viewbox>
        <DockPanel Name="dockPanel1" VerticalAlignment="Bottom" Background="#C8F5F5F5" HorizontalAlignment="Center">
            <Button Content="&lt;&lt;Previous page" Name="prevPageButton" Click="prevPageButton_Click" Height="42" Width="110" Margin="5" IsTabStop="False" />
            <Button Content="Next page>>" Name="nextPageButton" Click="nextPageButton_Click" Height="42" Width="110" Margin="5" IsTabStop="False" />
        </DockPanel>
    </Grid>
</Window>
